package com.cloudkinto.bo.print;

import com.cloudkinto.vo.order.returns.print.PrintReq;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author long
 */
@Data
public class PrintSkuBo extends PrintReq {

    @ApiModelProperty("sku列表")
    @NotNull(message = "sku列表不可为空")
    private List<SkuPrintMsg> skuList;

    @Data
    public static class SkuPrintMsg {
        @ApiModelProperty("产品id")
        private Long productId;
        @ApiModelProperty("打印份数")
        private Integer qty;
    }
}
